package com.ruoyi.framework.security.token;

import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
import org.springframework.security.core.GrantedAuthority;

import java.util.Collection;

public class AccountAuthToken extends UsernamePasswordAuthenticationToken {
    public AccountAuthToken(Object principal, Object credentials) {
        super(principal, credentials);
    }
    public AccountAuthToken(Object principal, Object credentials,
                            Collection<? extends GrantedAuthority> authorities) {
        super(principal, credentials, authorities);
    }
}